/**
 * 
 */
package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @author chl
 *
 */
@Entity
@Embeddable
@AttributeOverrides({
   @AttributeOverride(name = "DIC_CODE", column = @Column(name = "DIC_CODE")),
   @AttributeOverride(name = "DIC_VALUE", column = @Column(name = "DIC_VALUE")),
 })
@Table(name="MR_DICTIONARYDATA", schema = "DRGs")
public class DictionaryData extends KoalaLegacyEntity {
	private static final long serialVersionUID = 7835901497041595531L;
	
	// 主键
	@Id
	private DictionaryDataPrimary pkId;
	
	// 字典值描述
	@Column(name = "DIC_DESC")
	private String dicDesc ;
	// 备注
	@Column(name = "DIC_RESUME")
	private String dicResume ;
	
	public DictionaryData(DictionaryDataPrimary pkId, String dicDesc,
			String dicResume) {
		super();
		this.pkId = pkId;
		this.dicDesc = dicDesc;
		this.dicResume = dicResume;
	}

	public DictionaryData() {
		super();
	}

	public DictionaryDataPrimary getPkId() {
		return pkId;
	}

	public void setPkId(DictionaryDataPrimary pkId) {
		this.pkId = pkId;
	}


	/**
	 * @return the dicDesc
	 */
	public String getDicDesc() {
		return dicDesc;
	}

	/**
	 * @param dicDesc the dicDesc to set
	 */
	public void setDicDesc(String dicDesc) {
		this.dicDesc = dicDesc;
	}

	/**
	 * @return the dicResume
	 */
	public String getDicResume() {
		return dicResume;
	}

	/**
	 * @param dicResume the dicResume to set
	 */
	public void setDicResume(String dicResume) {
		this.dicResume = dicResume;
	}

	/* (non-Javadoc)
	 * @see org.openkoala.koala.commons.domain.KoalaBaseEntity#businessKeys()
	 */
	@Override
	public String[] businessKeys() {
		return null;
	}

	@Override
	public Serializable getId() {
		return pkId;
	}

}
